package com.bingxue.edu.parent.model.resp;

import com.bingxue.edu.common.enums.CommonStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author panbo
 * @since 2024/9/19
 */
@Data
@Schema(description = "家长用户信息")
public class ParentInfo {

    @Schema(description = "id")
    private String id;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "手机号")
    private String mobilePhone;

    @Schema(description = "推荐人")
    private String recommender;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "状态")
    private CommonStatusEnum status;

    @Schema(description = "最后一次登录时间")
    private LocalDateTime lastLoginTime;

    @Schema(description = "最后一次登录ip")
    private String lastLoginIp;

    @Schema(description = "最后一次登录地点")
    private String lastLoginAddress;
}
